package com.note.es.vo;

import lombok.Data;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.search.aggregations.AggregationBuilder;

@Data
public class AggRequestVO {
    private String[] indexName;
    private String type;
    private Integer size;
    private QueryBuilder queryBuilder;//查询条件构建
    private AggregationBuilder aggregationBuilder; //聚合构建

}
